package lexer

Import Path
	github.com/ChrisTrenkamp/goxpath/lexer (on go.dev)

Dependency Relation
	imports 5 packages, and imported by 2 packages

Involved Source Files lexer.go paths.go xmlchars.go
Package-Level Type Names (total 3)
/* sort by: | */
Lexer lexes out XPath expressions
XItem is the token emitted from the parser Typ XItemType Val string func Lex(xpath string) chan XItem
XItemType is the parser token types const XItemError const github.com/ChrisTrenkamp/goxpath/parser.Empty
Package-Level Functions (only one)
Lex an XPath expresion on the io.Reader
Package-Level Constants (total 21)
XItemAbbrAbsLocPath represents an abbreviated absolute path
XItemAbbrAxis marks an abbreviated axis specifier (just @ at this point)
XItemAbbrRelLocPath marks the start of a path expression
XItemAbsLocPath is an absolute path
XItemArgument marks a function argument
XItemAxis marks an axis specifier of a path
XItemEndFunction marks the end of a function
XItemEndPath marks the end of a path
XItemEndPredicate marks a predicate in an axis
XItemError is an error with the parser input
XItemFunction marks a function call
XItemNCName marks a namespace name in a node test
XItemNodeType marks a node type in a node test
XItemNumLit marks a numeric literal
XItemOperator marks an operator
XItemPredicate marks a predicate in an axis
XItemProcLit marks a processing-instruction literal
XItemQName marks the local name in an a node test
XItemRelLocPath represents a relative location path
XItemStrLit marks a string literal
XItemVariable marks a variable reference